package com.linqi.freebie.repo

import com.linqi.freebie.http.ktorClientCio.response.ResponseHolder

interface NetRepo {
    suspend fun checkRateLimit(): ResponseHolder<String>
    suspend fun getLatestRepoInfo(repo:String,appId:String): ResponseHolder<String>
    suspend fun getStringResultByUrl(url:String): ResponseHolder<String>
    suspend fun fetchFileContent(url:String): ResponseHolder<ByteArray>

}